/////////////////////////////////////////////
// ObjectARX defined commands

#include "StdAfx.h"
#include "StdArx.h"
#include "WindoTypeDlg.h"


// This is command 'WINDO'
void windo()
{
	// TODO: Implement the command

    // When resource from this ARX app is needed, just
    // instantiate a local CAcModuleResourceOverride
    CAcModuleResourceOverride resOverride;

    CWindoTypeDlg dlg(CWnd::FromHandle(adsw_acadMainWnd()));
	
	if(dlg.DoModal() == IDOK)
	{
		// Do something usefull here
		acutPrintf("\nWindow type   = %s", windInfo.windType);
		acutPrintf("\nWindow height = %.2lf", windInfo.m_dWindHt);
		acutPrintf("\nWindow width  = %.2lf", windInfo.m_dWindWt);
		acutPrintf("\nWindow cols   = %d", windInfo.m_nCols);
		acutPrintf("\nWindow rows   = %d", windInfo.m_nRows);
	}
}

